class Solution:
    def stableMountains(self, height: List[int], threshold: int) -> List[int]:
        mountain_num = len(height)
        stable_index = list()
        for i in range(mountain_num):
            if i != 0 and height[i-1] > threshold:
                stable_index.append(i)
        return stable_index

if __name__ == "__main__":
    s = Solution()
    print(s.stableMountains(height = [1,2,3,4,5], threshold = 2))
    print(s.stableMountains(height = [10,1,10,1,10], threshold = 3))
    print(s.stableMountains(height = [10,1,10,1,10], threshold = 10))